﻿
/// <summary>
/// 工作流程：
/// 1. 从https://www.gushicimingju.com/shiren/libai/获取所有李白的诗
/// 2. 写入到文件中
/// </summary>


using PoemCrawler;

string rootUrl = "https://www.gushicimingju.com";
string relativeUrl = "/shiren/libai/";

PoemCrawler.PoemCrawler poemCrawler = new(rootUrl, relativeUrl);
Console.WriteLine("开始爬取");
poemCrawler.Craw();
Console.WriteLine("爬取完成");
